package com.zhanggm.springcloud.jpa.service;


import com.zhanggm.springcloud.jpa.entity.TbUser;

/**
@author Zhanggm
*/
public interface TbUserService {

    /**
     * 根据用户名称查询
     * @param username
     * @return
     */
    TbUser getUserByUsername(String username);

    TbUser getUserById(Integer id);


}
